Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Questionnaire3to2.html |
Url | http://hl7.org/fhir/StructureMap/Questionnaire3to2 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Questionnaire3to2 |
Title | Questionnaire Transforms: R3 to R2 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | QuestionnaireTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Questionnaire3to2' /// name = 'Questionnaire3to2' /// title = 'Questionnaire Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/Questionnaire" alias Questionnaire as source uses "http://hl7.org/fhir/1.0/Questionnaire" alias QuestionnaireR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group Questionnaire(source src : Questionnaire, target tgt : QuestionnaireR2) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "Questionnaire-identifier"; src.version -> tgt.version "Questionnaire-version"; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/Questionnaire.status-R3toR2', 'code') "Questionnaire-status"; src.date -> tgt.date "Questionnaire-date"; src.publisher -> tgt.publisher "Questionnaire-publisher"; src.contact as v then { v.telecom -> tgt.telecom "Questionnaire-telecom-inner"; } "Questionnaire-telecom1"; src.subjectType -> tgt.subjectType "Questionnaire-subjectType"; src.item as vs0 where type = 'group' -> tgt.group as vt0 then qstGroup(vs0, vt0) "Questionnaire-group"; } group qstGroup(source src, target tgt) extends BackboneElement { src.linkId -> tgt.linkId "group-linkId"; src.text -> tgt.title "group-title"; src.code -> tgt.concept "group-concept"; src.required -> tgt.required "group-required"; src.repeats -> tgt.repeats "group-repeats"; src.item as vs0 where type = 'group' -> tgt.group as vt0 then qstGroup(vs0, vt0) "group-group"; src.item as vs0 where type != 'group' -> tgt.question as vt0 then qstQuestion(vs0, vt0) "group-question"; } group qstQuestion(source src, target tgt) extends BackboneElement { src.type -> tgt.type "question-type"; src.linkId -> tgt.linkId "question-linkId"; src.code -> tgt.concept "question-concept"; src.text -> tgt.text "question-text"; src.required -> tgt.required "question-required"; src.repeats -> tgt.repeats "question-repeats"; src.options -> tgt.options "question-options"; src.option as s then { s.value as v where v.is(Coding) -> tgt.option = v "question-option-inner"; } "question-option"; src.item as vs0 where type = 'group' -> tgt.group as vt0 then qstGroup(vs0, vt0) "question-group"; }
{
"resourceType" : "StructureMap",
"id" : "Questionnaire3to2",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Questionnaire3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Questionnaire3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Questionnaire Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Questionnaire<span style=\"color: navy\">" </span><b>alias </b>Questionnaire <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Questionnaire<span style=\"color: navy\">" </span><b>alias </b>QuestionnaireR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Questionnaire<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Questionnaire, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>QuestionnaireR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"Questionnaire-identifier"</i><span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version <i>"Questionnaire-version"</i><span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/Questionnaire.status-R3toR2'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>"Questionnaire-status"</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date <i>"Questionnaire-date"</i><span style=\"color: navy\">;</span>\r\n src.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher <i>"Questionnaire-publisher"</i><span style=\"color: navy\">;</span>\r\n src.contact<b> as </b><span style=\"color: maroon\">v</span><b> then</b><span style=\"color: navy\"> {\r\n</span> v.telecom<span style=\"color: navy\"><b> -> </b></span>tgt.telecom <i>"Questionnaire-telecom-inner"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"Questionnaire-telecom1"</i><span style=\"color: navy\">;</span>\r\n src.subjectType<span style=\"color: navy\"><b> -> </b></span>tgt.subjectType <i>"Questionnaire-subjectType"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>type = 'group'<span style=\"color: navy\"><b> -> </b></span>tgt.group<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qstGroup<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"Questionnaire-group"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>qstGroup<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.linkId<span style=\"color: navy\"><b> -> </b></span>tgt.linkId <i>"group-linkId"</i><span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.title <i>"group-title"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.concept <i>"group-concept"</i><span style=\"color: navy\">;</span>\r\n src.required<span style=\"color: navy\"><b> -> </b></span>tgt.required <i>"group-required"</i><span style=\"color: navy\">;</span>\r\n src.repeats<span style=\"color: navy\"><b> -> </b></span>tgt.repeats <i>"group-repeats"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>type = 'group'<span style=\"color: navy\"><b> -> </b></span>tgt.group<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qstGroup<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"group-group"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>type != 'group'<span style=\"color: navy\"><b> -> </b></span>tgt.question<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qstQuestion<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"group-question"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>qstQuestion<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"question-type"</i><span style=\"color: navy\">;</span>\r\n src.linkId<span style=\"color: navy\"><b> -> </b></span>tgt.linkId <i>"question-linkId"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.concept <i>"question-concept"</i><span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text <i>"question-text"</i><span style=\"color: navy\">;</span>\r\n src.required<span style=\"color: navy\"><b> -> </b></span>tgt.required <i>"question-required"</i><span style=\"color: navy\">;</span>\r\n src.repeats<span style=\"color: navy\"><b> -> </b></span>tgt.repeats <i>"question-repeats"</i><span style=\"color: navy\">;</span>\r\n src.options<span style=\"color: navy\"><b> -> </b></span>tgt.options <i>"question-options"</i><span style=\"color: navy\">;</span>\r\n src.option<b> as </b><span style=\"color: maroon\">s</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.value<b> as </b><span style=\"color: maroon\">v</span><b> where </b>v.is(Coding)<span style=\"color: navy\"><b> -> </b></span>tgt.option = <span style=\"color: maroon\">v</span> <i>"question-option-inner"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"question-option"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>type = 'group'<span style=\"color: navy\"><b> -> </b></span>tgt.group<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qstGroup<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"question-group"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Questionnaire3to2",
"version" : "0.1.0",
"name" : "Questionnaire3to2",
"title" : "Questionnaire Transforms: R3 to R2",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "QuestionnaireTransformsR3toR2",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/3.0/Questionnaire",
"mode" : "source",
"alias" : "Questionnaire"
},
{
"url" : "http://hl7.org/fhir/1.0/Questionnaire",
"mode" : "target",
"alias" : "QuestionnaireR2"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*3to2"
],
"group" : [
{
"name" : "Questionnaire",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "Questionnaire",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "QuestionnaireR2",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Questionnaire-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Questionnaire-version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Questionnaire-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/Questionnaire.status-R3toR2"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "Questionnaire-date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Questionnaire-publisher",
"source" : [
{
"context" : "src",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Questionnaire-telecom1",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "v"
}
],
"rule" : [
{
"name" : "Questionnaire-telecom-inner",
"source" : [
{
"context" : "v",
"element" : "telecom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "telecom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "Questionnaire-subjectType",
"source" : [
{
"context" : "src",
"element" : "subjectType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subjectType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Questionnaire-group",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "vs0",
"condition" : "type = 'group'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "group",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "qstGroup",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "qstGroup",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "group-linkId",
"source" : [
{
"context" : "src",
"element" : "linkId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "linkId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "group-title",
"source" : [
{
"context" : "src",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "title",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "group-concept",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "group-required",
"source" : [
{
"context" : "src",
"element" : "required",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "required",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "group-repeats",
"source" : [
{
"context" : "src",
"element" : "repeats",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeats",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "group-group",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "vs0",
"condition" : "type = 'group'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "group",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "qstGroup",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "group-question",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "vs0",
"condition" : "type != 'group'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "question",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "qstQuestion",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "qstQuestion",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "question-type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-linkId",
"source" : [
{
"context" : "src",
"element" : "linkId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "linkId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-concept",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-text",
"source" : [
{
"context" : "src",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "text",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-required",
"source" : [
{
"context" : "src",
"element" : "required",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "required",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-repeats",
"source" : [
{
"context" : "src",
"element" : "repeats",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeats",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-options",
"source" : [
{
"context" : "src",
"element" : "options",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "options",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "question-option",
"source" : [
{
"context" : "src",
"element" : "option",
"variable" : "s"
}
],
"rule" : [
{
"name" : "question-option-inner",
"source" : [
{
"context" : "s",
"element" : "value",
"variable" : "v",
"condition" : "v.is(Coding)"
}
],
"target" : [
{
"context" : "tgt",
"element" : "option",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "question-group",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "vs0",
"condition" : "type = 'group'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "group",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "qstGroup",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.